package com.example.servicec.controller;


import com.example.servicec.feign.ServiceAFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class StringController {


    @Autowired
    ServiceAFeign serviceAFeign;

    @RequestMapping("/querya")
    public String aa (){
        System.out.println("===========================cccc==================");
        return serviceAFeign.word();
    }
}
